<?php
	header("Cache-Control: no-cache, must-revalidate");
	header('Content-Type: text/xml; charset=ISO-8859-1');
	echo '<?xml version="1.0" encoding="ISO-8859-1"?>';
	echo '<infos>';
	$cnx=mysql_connect('127.0.0.1','root','');
	mysql_select_db('ajax',$cnx);
	$req=mysql_query('select pr_prix from produit where pr_id='.$_POST['pdt']);
	$pdt=mysql_fetch_assoc($req);
	mysql_close($cnx);
	echo '<prix>'.$pdt['pr_prix'].'</prix>';
	echo '</infos>';
?>